lib/refs: Add methods for setting/listing collection–refs
authorPhilip Withnall <withnall@endlessm.com>
Wed, 7 Jun 2017 13:25:59 +0000 (14:25 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 26 Jun 2017 15:56:07 +0000 (15:56 +0000)
commitfbf8df882964572e3735ef2b6fc9204d78f9502a
tree9d854ea597d116dbbdf33d68e7e1d71ff72fcf63
parent4de736fdfa6751139e7773eca09812d3b7ba5286
lib/refs: Add methods for setting/listing collection–refs

These are tuples of (collection ID, ref name) which are a globally-unique
form of local ref. They use OstreeCollectionRef as an identifier, and hence
need to be accessed using new API, as the existing API uses string
identifiers and sometimes accepts refspecs. Remote names are not
supported as part an OstreeCollectionRef.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Closes: #924
Approved by: cgwalters
apidoc/ostree-experimental-sections.txt
src/libostree/libostree-experimental.sym
src/libostree/ostree-repo-commit.c
src/libostree/ostree-repo-private.h
src/libostree/ostree-repo-prune.c
src/libostree/ostree-repo-refs.c
src/libostree/ostree-repo.c
src/libostree/ostree-repo.h
tests/basic-test.sh